package com.gzy.cs5.data;

import com.gzy.cs5.lang.ItemType;
import com.gzy.cs5.model.Item;

import java.util.HashMap;
import java.util.Map;

public class ItemData {
    public static Map<String, Item> getSampleItems() {
        Map<String, Item> items = new HashMap<>();
        items.put("1", new Item("1", "汉堡", 24.0, ItemType.MAIN, 300));
        items.put("2", new Item("2", "薯条", 6.0, ItemType.MAIN, 300));
        items.put("3", new Item("3", "可乐", 3.0, ItemType.DRINK, 300));
        items.put("4", new Item("4", "雪碧", 3.0, ItemType.DRINK, 200));
        items.put("5", new Item("5", "冰咖啡", 5.0, ItemType.DRINK, 100));
        items.put("6", new Item("6", "蛋糕", 6.0, ItemType.DESSERT, 100));
        items.put("7", new Item("7", "曲奇", 5.0, ItemType.DESSERT, 600));
        items.put("8", new Item("8", "马卡龙", 5.0, ItemType.DESSERT, 1000));
        items.put("9", new Item("9", "冰淇淋", 6.0, ItemType.DESSERT, 100));
        items.put("10", new Item("10", "披萨", 25.0, ItemType.MAIN, 666));
        items.put("11", new Item("11", "意面", 20.0, ItemType.MAIN, 899));
        items.put("12", new Item("12", "寿司", 22.0, ItemType.MAIN, 1837));
        return items;
    }
}
